Optimal. Leaf size=22 \[ \frac {\log (x)}{a}-\frac {\log \left (a+b x^2\right )}{2 a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.454, Rules used = {1593, 266, 36, 29, 31} \[ \frac {\log (x)}{a}-\frac {\log \left (a+b x^2\right )}{2 a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 31
Rule 36
Rule 266
Rule 1593
Rubi steps
\begin {align*} \int \frac {1}{a x+b x^3} \, dx &=\int \frac {1}{x \left (a+b x^2\right )} \, dx\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{x (a+b x)} \, dx,x,x^2\right )\\ &=\frac {\operatorname {Subst}\left (\int \frac {1}{x} \, dx,x,x^2\right )}{2 a}-\frac {b \operatorname {Subst}\left (\int \frac {1}{a+b x} \, dx,x,x^2\right )}{2 a}\\ &=\frac {\log (x)}{a}-\frac {\log \left (a+b x^2\right )}{2 a}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 22, normalized size = 1.00 \[ \frac {\log (x)}{a}-\frac {\log \left (a+b x^2\right )}{2 a} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.80, size = 18, normalized size = 0.82 \[ -\frac {\log \left (b x^{2} + a\right ) - 2 \, \log \relax (x)}{2 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 24, normalized size = 1.09 \[ \frac {\log \left (x^{2}\right )}{2 \, a} - \frac {\log \left ({\left | b x^{2} + a \right |}\right )}{2 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 21, normalized size = 0.95 \[ \frac {\ln \relax (x )}{a}-\frac {\ln \left (b \,x^{2}+a \right )}{2 a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.34, size = 20, normalized size = 0.91 \[ -\frac {\log \left (b x^{2} + a\right )}{2 \, a} + \frac {\log \relax (x)}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 18, normalized size = 0.82 \[ -\frac {\ln \left (b\,x^2+a\right )-2\,\ln \relax (x)}{2\,a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.21, size = 15, normalized size = 0.68 \[ \frac {\log {\relax (x )}}{a} - \frac {\log {\left (\frac {a}{b} + x^{2} \right )}}{2 a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________